<span data-dojo-attach-event="onblur:_popupCancel">
	<span class="dijitInline kidWidgetIcons"> 
		<span class="dijitInline kidMouseHand kidWidgetIcons kidWidgetIconColorPickerEnable" data-dojo-attach-event="onclick:_onclick"></span>
		<input type="hidden" name="${name}" value="${value}" />
	</span>
	<span data-dojo-type="dijit.layout.ContentPane" style="margin:0px;padding:8px;width:210px;background:#fff;border:1px solid #ccc">
		<script type="dojo/method" event="onBlur" args="value">
			this.belongTo._popupCancel();
		</script>
		<span class="dijitInline" style="width:100%;">
			<span data-dojo-type="dijit.form.Button" data-dojo-props="label:'cancel',showLabel:true,style:'float:right'" >
				<script type="dojo/method" event="onClick" args="evt">
					this.belongTo._popupCancel();
				</script>
			</span>
			<span data-dojo-type="dijit.form.Button" data-dojo-props="label:'ok',showLabel:true,style:'float:right'" >
				<script type="dojo/method" event="onClick" args="evt">
					this.belongTo._popupConfirm();
				</script>
			</span>
			<span class="dijitInline" style="padding:5px 0 10px 0;">
				<span class="dijitInline kidcolorsandbox" style="width:25px;height:16px;border:1px solid black;"></span>
				<span class="dijitInline"><input type="text" style="border:1px solid black;width:50px;height:16px;margin-left:5px;" maxlength=7 data-dojo-attach-event="onkeyup:_textColor,onkeydown:_filterColorChar" /></span>
				<span class="dijitInline kidWidgetIcons kidWidgetIconColorPickerButtonNone kidMouseHand" data-dojo-attach-event="onclick:_buttonNoneClick"></span>
			</span>
		</span>
		<span data-dojo-type="dijit.ColorPalette" data-dojo-props="palette:'${palette}'" >
			<script type="dojo/method" event="onChange" args="value">
				this.belongTo._colorPaletteClick(value);
			</script>
			<script type="dojo/method" event="onDblClick" args="value">
				this.belongTo._popupConfirm();
			</script>
		</span>
	</span>
</span>